define([
    'jQuery',
    'Underscore',
    'Backbone',
    'Kendo'
], function($, _, Backbone, Kendo) {

    
    
    var Location = kendo.data.Model.define({
   
        id: "id",
        
        fields: {
            
            id: {
                editable: true
            },
            
            longitude: {
                type: "number",
                validation: { 
                    required: true
                }
            },
            
            latitude: {
                type: "number",
                validation: {
                    required: true
                }
            },
            
            street: {
                type: "string"
            },
            
            city: {
                type: "string"
            },
            
            postalcode: {
                type: "string"
            },
            
            housenumber: {
                type: "string"
            },
            
            housenumbersuffix: {
                type: "string"
            },
            
            countryId: {
                type: "integer"
            }
        }
   
    });
    
    
    
    return Location;
    
    
    
});